﻿Option Explicit On


'*******************************************************************
' Program: xmlVisio
' Author: Albert E Edlund
' Date:
'
' Purpose:
' Working with visio drawing in an xml format
'
'
'
'*******************************************************************

Imports xmlVisio.clsXmlVisioBaseTypes
Imports System.Linq
Imports System.Xml

Imports xmlVisio
Imports xmlVisio.clsXmlDocument
Imports xmlVisio.clsXmlPage
Imports xmlVisio.clsXmlStyle



Public Class clsXmlShape



#Region " xsd definitons "



    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038"), _
     System.SerializableAttribute(), _
     System.Diagnostics.DebuggerStepThroughAttribute(), _
     System.ComponentModel.DesignerCategoryAttribute("code"), _
     System.Xml.Serialization.XmlTypeAttribute([Namespace]:="http://schemas.microsoft.com/visio/2003/core")> _
    Partial Public Class Shape_Type
        Inherits ShapeSheet_Type

        Private items1Field() As Shapes_Type

        Private idField As ULong

        Private idFieldSpecified As Boolean

        Private delField As ISOBoolean

        Private delFieldSpecified As Boolean

        Private masterShapeField As ULong

        Private masterShapeFieldSpecified As Boolean

        Private uniqueIDField As String

        Private nameField As String

        Private nameUField As String

        Private masterField As ULong

        Private masterFieldSpecified As Boolean

        Private typeField As String

        '''<remarks/>
        <System.Xml.Serialization.XmlElementAttribute("Shapes")> _
        Public Property Items1() As Shapes_Type()
            Get
                Return Me.items1Field
            End Get
            Set(value As Shapes_Type())
                Me.items1Field = value
            End Set
        End Property

        '''<remarks/>
        <System.Xml.Serialization.XmlAttributeAttribute()> _
        Public Property ID() As ULong
            Get
                Return Me.idField
            End Get
            Set(value As ULong)
                Me.idField = value
            End Set
        End Property

        '''<remarks/>
        <System.Xml.Serialization.XmlIgnoreAttribute()> _
        Public Property IDSpecified() As Boolean
            Get
                Return Me.idFieldSpecified
            End Get
            Set(value As Boolean)
                Me.idFieldSpecified = value
            End Set
        End Property

        '''<remarks/>
        <System.Xml.Serialization.XmlAttributeAttribute()> _
        Public Property Del() As ISOBoolean
            Get
                Return Me.delField
            End Get
            Set(value As ISOBoolean)
                Me.delField = value
            End Set
        End Property

        '''<remarks/>
        <System.Xml.Serialization.XmlIgnoreAttribute()> _
        Public Property DelSpecified() As Boolean
            Get
                Return Me.delFieldSpecified
            End Get
            Set(value As Boolean)
                Me.delFieldSpecified = value
            End Set
        End Property

        '''<remarks/>
        <System.Xml.Serialization.XmlAttributeAttribute()> _
        Public Property MasterShape() As ULong
            Get
                Return Me.masterShapeField
            End Get
            Set(value As ULong)
                Me.masterShapeField = value
            End Set
        End Property

        '''<remarks/>
        <System.Xml.Serialization.XmlIgnoreAttribute()> _
        Public Property MasterShapeSpecified() As Boolean
            Get
                Return Me.masterShapeFieldSpecified
            End Get
            Set(value As Boolean)
                Me.masterShapeFieldSpecified = value
            End Set
        End Property

        '''<remarks/>
        <System.Xml.Serialization.XmlAttributeAttribute()> _
        Public Property UniqueID() As String
            Get
                Return Me.uniqueIDField
            End Get
            Set(value As String)
                Me.uniqueIDField = value
            End Set
        End Property

        '''<remarks/>
        <System.Xml.Serialization.XmlAttributeAttribute()> _
        Public Property Name() As String
            Get
                Return Me.nameField
            End Get
            Set(value As String)
                Me.nameField = value
            End Set
        End Property

        '''<remarks/>
        <System.Xml.Serialization.XmlAttributeAttribute()> _
        Public Property NameU() As String
            Get
                Return Me.nameUField
            End Get
            Set(value As String)
                Me.nameUField = value
            End Set
        End Property

        '''<remarks/>
        <System.Xml.Serialization.XmlAttributeAttribute()> _
        Public Property Master() As ULong
            Get
                Return Me.masterField
            End Get
            Set(value As ULong)
                Me.masterField = value
            End Set
        End Property

        '''<remarks/>
        <System.Xml.Serialization.XmlIgnoreAttribute()> _
        Public Property MasterSpecified() As Boolean
            Get
                Return Me.masterFieldSpecified
            End Get
            Set(value As Boolean)
                Me.masterFieldSpecified = value
            End Set
        End Property

        '''<remarks/>
        <System.Xml.Serialization.XmlAttributeAttribute()> _
        Public Property Type() As String
            Get
                Return Me.typeField
            End Get
            Set(value As String)
                Me.typeField = value
            End Set
        End Property
    End Class

    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038"), _
     System.SerializableAttribute(), _
     System.Diagnostics.DebuggerStepThroughAttribute(), _
     System.ComponentModel.DesignerCategoryAttribute("code"), _
     System.Xml.Serialization.XmlTypeAttribute([Namespace]:="http://schemas.microsoft.com/visio/2003/core")> _
    Partial Public Class Shapes_Type

        Private shapeField() As Shape_Type

        '''<remarks/>
        <System.Xml.Serialization.XmlElementAttribute("Shape")> _
        Public Property Shape() As Shape_Type()
            Get
                Return Me.shapeField
            End Get
            Set(value As Shape_Type())
                Me.shapeField = value
            End Set
        End Property
    End Class

    '''<remarks/>
    <System.Xml.Serialization.XmlIncludeAttribute(GetType(Shape_Type)), _
     System.Xml.Serialization.XmlIncludeAttribute(GetType(PageSheet_Type)), _
     System.Xml.Serialization.XmlIncludeAttribute(GetType(DocumentSheet_Type)), _
     System.Xml.Serialization.XmlIncludeAttribute(GetType(StyleSheet_Type)), _
     System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038"), _
     System.SerializableAttribute(), _
     System.Diagnostics.DebuggerStepThroughAttribute(), _
     System.ComponentModel.DesignerCategoryAttribute("code"), _
     System.Xml.Serialization.XmlTypeAttribute([Namespace]:="http://schemas.microsoft.com/visio/2003/core")> _
    Partial Public Class ShapeSheet_Type

        Private itemsField() As Object

        Private lineStyleField As ULong

        Private lineStyleFieldSpecified As Boolean

        Private fillStyleField As ULong

        Private fillStyleFieldSpecified As Boolean

        Private textStyleField As ULong

        Private textStyleFieldSpecified As Boolean

        Private anyAttrField() As System.Xml.XmlAttribute

        '''<remarks/>
        <System.Xml.Serialization.XmlAnyElementAttribute(), _
         System.Xml.Serialization.XmlElementAttribute("Act", GetType(Act_Type)), _
         System.Xml.Serialization.XmlElementAttribute("Align", GetType(Align_Type)), _
         System.Xml.Serialization.XmlElementAttribute("Annotation", GetType(Annotation_Type)), _
         System.Xml.Serialization.XmlElementAttribute("Char", GetType(Char_Type)), _
         System.Xml.Serialization.XmlElementAttribute("Connection", GetType(Connection_Type)), _
         System.Xml.Serialization.XmlElementAttribute("ConnectionABCD", GetType(ConnectionABCD_Type)), _
         System.Xml.Serialization.XmlElementAttribute("Control", GetType(Control_Type)), _
         System.Xml.Serialization.XmlElementAttribute("Data1", GetType(Data1_Type)), _
         System.Xml.Serialization.XmlElementAttribute("Data2", GetType(Data2_Type)), _
         System.Xml.Serialization.XmlElementAttribute("Data3", GetType(Data3_Type)), _
         System.Xml.Serialization.XmlElementAttribute("DocProps", GetType(DocProps_Type)), _
         System.Xml.Serialization.XmlElementAttribute("Event", GetType(Event_Type)), _
         System.Xml.Serialization.XmlElementAttribute("Field", GetType(Field_Type)), _
         System.Xml.Serialization.XmlElementAttribute("Fill", GetType(Fill_Type)), _
         System.Xml.Serialization.XmlElementAttribute("Foreign", GetType(Foreign_Type)), _
         System.Xml.Serialization.XmlElementAttribute("ForeignData", GetType(ForeignData_Type)), _
         System.Xml.Serialization.XmlElementAttribute("Geom", GetType(Geom_Type)), _
         System.Xml.Serialization.XmlElementAttribute("Group", GetType(Group_Type)), _
         System.Xml.Serialization.XmlElementAttribute("Help", GetType(Help_Type)), _
         System.Xml.Serialization.XmlElementAttribute("Hyperlink", GetType(Hyperlink_Type)), _
         System.Xml.Serialization.XmlElementAttribute("Image", GetType(Image_Type)), _
         System.Xml.Serialization.XmlElementAttribute("Layer", GetType(Layer_Type)), _
         System.Xml.Serialization.XmlElementAttribute("LayerMem", GetType(LayerMem_Type)), _
         System.Xml.Serialization.XmlElementAttribute("Layout", GetType(Layout_Type)), _
         System.Xml.Serialization.XmlElementAttribute("Line", GetType(Line_Type)), _
         System.Xml.Serialization.XmlElementAttribute("Misc", GetType(Misc_Type)), _
         System.Xml.Serialization.XmlElementAttribute("PageLayout", GetType(PageLayout_Type)), _
         System.Xml.Serialization.XmlElementAttribute("PageProps", GetType(PageProps_Type)), _
         System.Xml.Serialization.XmlElementAttribute("Para", GetType(Para_Type)), _
         System.Xml.Serialization.XmlElementAttribute("PrintProps", GetType(PrintProps_Type)), _
         System.Xml.Serialization.XmlElementAttribute("Prop", GetType(Prop_Type)), _
         System.Xml.Serialization.XmlElementAttribute("Protection", GetType(Protection_Type)), _
         System.Xml.Serialization.XmlElementAttribute("Reviewer", GetType(Reviewer_Type)), _
         System.Xml.Serialization.XmlElementAttribute("RulerGrid", GetType(RulerGrid_Type)), _
         System.Xml.Serialization.XmlElementAttribute("Scratch", GetType(Scratch_Type)), _
         System.Xml.Serialization.XmlElementAttribute("SmartTagDef", GetType(SmartTagDef_Type)), _
         System.Xml.Serialization.XmlElementAttribute("StyleProp", GetType(StyleProp_Type)), _
         System.Xml.Serialization.XmlElementAttribute("Tabs", GetType(Tabs_Type)), _
         System.Xml.Serialization.XmlElementAttribute("Text", GetType(Text_Type)), _
         System.Xml.Serialization.XmlElementAttribute("TextBlock", GetType(TextBlock_Type)), _
         System.Xml.Serialization.XmlElementAttribute("TextXForm", GetType(TextXForm_Type)), _
         System.Xml.Serialization.XmlElementAttribute("User", GetType(User_Type)), _
         System.Xml.Serialization.XmlElementAttribute("XForm", GetType(XForm_Type)), _
         System.Xml.Serialization.XmlElementAttribute("XForm1D", GetType(XForm1D_Type))> _
        Public Property Items() As Object()
            Get
                Return Me.itemsField
            End Get
            Set(value As Object())
                Me.itemsField = value
            End Set
        End Property

        '''<remarks/>
        <System.Xml.Serialization.XmlAttributeAttribute()> _
        Public Property LineStyle() As ULong
            Get
                Return Me.lineStyleField
            End Get
            Set(value As ULong)
                Me.lineStyleField = value
            End Set
        End Property

        '''<remarks/>
        <System.Xml.Serialization.XmlIgnoreAttribute()> _
        Public Property LineStyleSpecified() As Boolean
            Get
                Return Me.lineStyleFieldSpecified
            End Get
            Set(value As Boolean)
                Me.lineStyleFieldSpecified = value
            End Set
        End Property

        '''<remarks/>
        <System.Xml.Serialization.XmlAttributeAttribute()> _
        Public Property FillStyle() As ULong
            Get
                Return Me.fillStyleField
            End Get
            Set(value As ULong)
                Me.fillStyleField = value
            End Set
        End Property

        '''<remarks/>
        <System.Xml.Serialization.XmlIgnoreAttribute()> _
        Public Property FillStyleSpecified() As Boolean
            Get
                Return Me.fillStyleFieldSpecified
            End Get
            Set(value As Boolean)
                Me.fillStyleFieldSpecified = value
            End Set
        End Property

        '''<remarks/>
        <System.Xml.Serialization.XmlAttributeAttribute()> _
        Public Property TextStyle() As ULong
            Get
                Return Me.textStyleField
            End Get
            Set(value As ULong)
                Me.textStyleField = value
            End Set
        End Property

        '''<remarks/>
        <System.Xml.Serialization.XmlIgnoreAttribute()> _
        Public Property TextStyleSpecified() As Boolean
            Get
                Return Me.textStyleFieldSpecified
            End Get
            Set(value As Boolean)
                Me.textStyleFieldSpecified = value
            End Set
        End Property

        '''<remarks/>
        <System.Xml.Serialization.XmlAnyAttributeAttribute()> _
        Public Property AnyAttr() As System.Xml.XmlAttribute()
            Get
                Return Me.anyAttrField
            End Get
            Set(value As System.Xml.XmlAttribute())
                Me.anyAttrField = value
            End Set
        End Property
    End Class ' shapesheet

    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038"), _
     System.SerializableAttribute(), _
     System.Diagnostics.DebuggerStepThroughAttribute(), _
     System.ComponentModel.DesignerCategoryAttribute("code"), _
     System.Xml.Serialization.XmlTypeAttribute([Namespace]:="http://schemas.microsoft.com/visio/2003/core")> _
    Partial Public Class Act_Type
        Inherits NamedIndexedRow_Type

        Private itemsField() As Cell_Type

        '''<remarks/>
        <System.Xml.Serialization.XmlElementAttribute("Action", GetType(Action_Type)), _
         System.Xml.Serialization.XmlElementAttribute("BeginGroup", GetType(BeginGroup_Type)), _
         System.Xml.Serialization.XmlElementAttribute("ButtonFace", GetType(ButtonFace_Type)), _
         System.Xml.Serialization.XmlElementAttribute("Checked", GetType(Checked_Type)), _
         System.Xml.Serialization.XmlElementAttribute("Disabled", GetType(Disabled_Type)), _
         System.Xml.Serialization.XmlElementAttribute("Invisible", GetType(Invisible_Type)), _
         System.Xml.Serialization.XmlElementAttribute("Menu", GetType(Menu_Type)), _
         System.Xml.Serialization.XmlElementAttribute("ReadOnly", GetType(ReadOnly_Type)), _
         System.Xml.Serialization.XmlElementAttribute("SortKey", GetType(SortKey_Type)), _
         System.Xml.Serialization.XmlElementAttribute("TagName", GetType(TagName_Type))> _
        Public Property Items() As Cell_Type()
            Get
                Return Me.itemsField
            End Get
            Set(value As Cell_Type())
                Me.itemsField = value
            End Set
        End Property
    End Class ' action row

    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038"), _
     System.SerializableAttribute(), _
     System.Diagnostics.DebuggerStepThroughAttribute(), _
     System.ComponentModel.DesignerCategoryAttribute("code"), _
     System.Xml.Serialization.XmlTypeAttribute([Namespace]:="http://schemas.microsoft.com/visio/2003/core")> _
    Partial Public Class Align_Type
        Inherits Row_Type

        Private itemsField() As Cell_Type

        '''<remarks/>
        <System.Xml.Serialization.XmlElementAttribute("AlignBottom", GetType(AlignBottom_Type)), _
         System.Xml.Serialization.XmlElementAttribute("AlignCenter", GetType(AlignCenter_Type)), _
         System.Xml.Serialization.XmlElementAttribute("AlignLeft", GetType(AlignLeft_Type)), _
         System.Xml.Serialization.XmlElementAttribute("AlignMiddle", GetType(AlignMiddle_Type)), _
         System.Xml.Serialization.XmlElementAttribute("AlignRight", GetType(AlignRight_Type)), _
         System.Xml.Serialization.XmlElementAttribute("AlignTop", GetType(AlignTop_Type))> _
        Public Property Items() As Cell_Type()
            Get
                Return Me.itemsField
            End Get
            Set(value As Cell_Type())
                Me.itemsField = value
            End Set
        End Property
    End Class ' Align

    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038"), _
     System.SerializableAttribute(), _
     System.Diagnostics.DebuggerStepThroughAttribute(), _
     System.ComponentModel.DesignerCategoryAttribute("code"), _
     System.Xml.Serialization.XmlTypeAttribute([Namespace]:="http://schemas.microsoft.com/visio/2003/core")> _
    Partial Public Class Control_Type
        Inherits NamedIndexedRow_Type

        Private itemsField() As Cell_Type

        '''<remarks/>
        <System.Xml.Serialization.XmlElementAttribute("CanGlue", GetType(CanGlue_Type)), _
         System.Xml.Serialization.XmlElementAttribute("Prompt", GetType(Prompt_Type)), _
         System.Xml.Serialization.XmlElementAttribute("X", GetType(X_Type)), _
         System.Xml.Serialization.XmlElementAttribute("XCon", GetType(XCon_Type)), _
         System.Xml.Serialization.XmlElementAttribute("XDyn", GetType(XDyn_Type)), _
         System.Xml.Serialization.XmlElementAttribute("Y", GetType(Y_Type)), _
         System.Xml.Serialization.XmlElementAttribute("YCon", GetType(YCon_Type)), _
         System.Xml.Serialization.XmlElementAttribute("YDyn", GetType(YDyn_Type))> _
        Public Property Items() As Cell_Type()
            Get
                Return Me.itemsField
            End Get
            Set(value As Cell_Type())
                Me.itemsField = value
            End Set
        End Property
    End Class ' control section

    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038"), _
     System.SerializableAttribute(), _
     System.Diagnostics.DebuggerStepThroughAttribute(), _
     System.ComponentModel.DesignerCategoryAttribute("code"), _
     System.Xml.Serialization.XmlTypeAttribute([Namespace]:="http://schemas.microsoft.com/visio/2003/core")> _
    Partial Public Class ConnectionABCD_Type
        Inherits NamedIndexedRow_Type

        Private itemsField() As Object

        '''<remarks/>
        <System.Xml.Serialization.XmlElementAttribute("A", GetType(A_Type)), _
         System.Xml.Serialization.XmlElementAttribute("B", GetType(B_Type)), _
         System.Xml.Serialization.XmlElementAttribute("C", GetType(C_Type)), _
         System.Xml.Serialization.XmlElementAttribute("D", GetType(D_Type)), _
         System.Xml.Serialization.XmlElementAttribute("X", GetType(X_Type)), _
         System.Xml.Serialization.XmlElementAttribute("Y", GetType(Y_Type))> _
        Public Property Items() As Object()
            Get
                Return Me.itemsField
            End Get
            Set(value As Object())
                Me.itemsField = value
            End Set
        End Property
    End Class ' connection abcd row 

    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038"), _
     System.SerializableAttribute(), _
     System.Diagnostics.DebuggerStepThroughAttribute(), _
     System.ComponentModel.DesignerCategoryAttribute("code"), _
     System.Xml.Serialization.XmlTypeAttribute([Namespace]:="http://schemas.microsoft.com/visio/2003/core")> _
    Partial Public Class Connection_Type
        Inherits NamedIndexedRow_Type

        Private itemsField() As Cell_Type

        '''<remarks/>
        <System.Xml.Serialization.XmlElementAttribute("AutoGen", GetType(AutoGen_Type)), _
         System.Xml.Serialization.XmlElementAttribute("DirX", GetType(DirX_Type)), _
         System.Xml.Serialization.XmlElementAttribute("DirY", GetType(DirY_Type)), _
         System.Xml.Serialization.XmlElementAttribute("Prompt", GetType(Prompt_Type)), _
         System.Xml.Serialization.XmlElementAttribute("Type", GetType(Type_Type)), _
         System.Xml.Serialization.XmlElementAttribute("X", GetType(X_Type)), _
         System.Xml.Serialization.XmlElementAttribute("Y", GetType(Y_Type))> _
        Public Property Items() As Cell_Type()
            Get
                Return Me.itemsField
            End Get
            Set(value As Cell_Type())
                Me.itemsField = value
            End Set
        End Property
    End Class ' connection section row

    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038"), _
     System.SerializableAttribute(), _
     System.Diagnostics.DebuggerStepThroughAttribute(), _
     System.ComponentModel.DesignerCategoryAttribute("code"), _
     System.Xml.Serialization.XmlTypeAttribute([Namespace]:="http://schemas.microsoft.com/visio/2003/core")> _
    Partial Public Class Group_Type
        Inherits Row_Type

        Private itemsField() As Cell_Type

        '''<remarks/>
        <System.Xml.Serialization.XmlElementAttribute("DisplayMode", GetType(DisplayMode_Type)), _
         System.Xml.Serialization.XmlElementAttribute("DontMoveChildren", GetType(DontMoveChildren_Type)), _
         System.Xml.Serialization.XmlElementAttribute("IsDropTarget", GetType(IsDropTarget_Type)), _
         System.Xml.Serialization.XmlElementAttribute("IsSnapTarget", GetType(IsSnapTarget_Type)), _
         System.Xml.Serialization.XmlElementAttribute("IsTextEditTarget", GetType(IsTextEditTarget_Type)), _
         System.Xml.Serialization.XmlElementAttribute("SelectMode", GetType(SelectMode_Type))> _
        Public Property Items() As Cell_Type()
            Get
                Return Me.itemsField
            End Get
            Set(value As Cell_Type())
                Me.itemsField = value
            End Set
        End Property
    End Class ' group 

    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038"), _
     System.SerializableAttribute(), _
     System.Diagnostics.DebuggerStepThroughAttribute(), _
     System.ComponentModel.DesignerCategoryAttribute("code"), _
     System.Xml.Serialization.XmlTypeAttribute([Namespace]:="http://schemas.microsoft.com/visio/2003/core")> _
    Partial Public Class Help_Type
        Inherits Row_Type

        Private itemsField() As Cell_Type

        '''<remarks/>
        <System.Xml.Serialization.XmlElementAttribute("Copyright", GetType(Copyright_Type)), _
         System.Xml.Serialization.XmlElementAttribute("HelpTopic", GetType(HelpTopic_Type))> _
        Public Property Items() As Cell_Type()
            Get
                Return Me.itemsField
            End Get
            Set(value As Cell_Type())
                Me.itemsField = value
            End Set
        End Property
    End Class ' help

    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038"), _
     System.SerializableAttribute(), _
     System.Diagnostics.DebuggerStepThroughAttribute(), _
     System.ComponentModel.DesignerCategoryAttribute("code"), _
     System.Xml.Serialization.XmlTypeAttribute([Namespace]:="http://schemas.microsoft.com/visio/2003/core")> _
    Partial Public Class Layout_Type
        Inherits Row_Type

        Private itemsField() As Cell_Type

        '''<remarks/>
        <System.Xml.Serialization.XmlElementAttribute("ConFixedCode", GetType(ConFixedCode_Type)), _
         System.Xml.Serialization.XmlElementAttribute("ConLineJumpCode", GetType(ConLineJumpCode_Type)), _
         System.Xml.Serialization.XmlElementAttribute("ConLineJumpDirX", GetType(ConLineJumpDirX_Type)), _
         System.Xml.Serialization.XmlElementAttribute("ConLineJumpDirY", GetType(ConLineJumpDirY_Type)), _
         System.Xml.Serialization.XmlElementAttribute("ConLineJumpStyle", GetType(ConLineJumpStyle_Type)), _
         System.Xml.Serialization.XmlElementAttribute("ConLineRouteExt", GetType(ConLineRouteExt_Type)), _
         System.Xml.Serialization.XmlElementAttribute("ShapeFixedCode", GetType(ShapeFixedCode_Type)), _
         System.Xml.Serialization.XmlElementAttribute("ShapePermeablePlace", GetType(ShapePermeablePlace_Type)), _
         System.Xml.Serialization.XmlElementAttribute("ShapePermeableX", GetType(ShapePermeableX_Type)), _
         System.Xml.Serialization.XmlElementAttribute("ShapePermeableY", GetType(ShapePermeableY_Type)), _
         System.Xml.Serialization.XmlElementAttribute("ShapePlaceFlip", GetType(ShapePlaceFlip_Type)), _
         System.Xml.Serialization.XmlElementAttribute("ShapePlowCode", GetType(ShapePlowCode_Type)), _
         System.Xml.Serialization.XmlElementAttribute("ShapeRouteStyle", GetType(ShapeRouteStyle_Type)), _
         System.Xml.Serialization.XmlElementAttribute("ShapeSplit", GetType(ShapeSplit_Type)), _
         System.Xml.Serialization.XmlElementAttribute("ShapeSplittable", GetType(ShapeSplittable_Type))> _
        Public Property Items() As Cell_Type()
            Get
                Return Me.itemsField
            End Get
            Set(value As Cell_Type())
                Me.itemsField = value
            End Set
        End Property
    End Class ' layout (page/shape)

    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038"), _
     System.SerializableAttribute(), _
     System.Diagnostics.DebuggerStepThroughAttribute(), _
     System.ComponentModel.DesignerCategoryAttribute("code"), _
     System.Xml.Serialization.XmlTypeAttribute([Namespace]:="http://schemas.microsoft.com/visio/2003/core")> _
    Partial Public Class Misc_Type
        Inherits Row_Type

        Private itemsField() As Cell_Type

        '''<remarks/>
        <System.Xml.Serialization.XmlElementAttribute("BegTrigger", GetType(BegTrigger_Type)), _
         System.Xml.Serialization.XmlElementAttribute("Calendar", GetType(Calendar_Type)), _
         System.Xml.Serialization.XmlElementAttribute("Comment", GetType(Comment_Type)), _
         System.Xml.Serialization.XmlElementAttribute("DropOnPageScale", GetType(DropOnPageScale_Type)), _
         System.Xml.Serialization.XmlElementAttribute("DynFeedback", GetType(DynFeedback_Type)), _
         System.Xml.Serialization.XmlElementAttribute("EndTrigger", GetType(EndTrigger_Type)), _
         System.Xml.Serialization.XmlElementAttribute("GlueType", GetType(GlueType_Type)), _
         System.Xml.Serialization.XmlElementAttribute("HideText", GetType(HideText_Type)), _
         System.Xml.Serialization.XmlElementAttribute("IsDropSource", GetType(IsDropSource_Type)), _
         System.Xml.Serialization.XmlElementAttribute("LangID", GetType(LangID_Type)), _
         System.Xml.Serialization.XmlElementAttribute("LocalizeMerge", GetType(LocalizeMerge_Type)), _
         System.Xml.Serialization.XmlElementAttribute("NoAlignBox", GetType(NoAlignBox_Type)), _
         System.Xml.Serialization.XmlElementAttribute("NoCtlHandles", GetType(NoCtlHandles_Type)), _
         System.Xml.Serialization.XmlElementAttribute("NoLiveDynamics", GetType(NoLiveDynamics_Type)), _
         System.Xml.Serialization.XmlElementAttribute("NoObjHandles", GetType(NoObjHandles_Type)), _
         System.Xml.Serialization.XmlElementAttribute("NonPrinting", GetType(NonPrinting_Type)), _
         System.Xml.Serialization.XmlElementAttribute("ObjType", GetType(ObjType_Type)), _
         System.Xml.Serialization.XmlElementAttribute("ShapeKeywords", GetType(ShapeKeywords_Type)), _
         System.Xml.Serialization.XmlElementAttribute("UpdateAlignBox", GetType(UpdateAlignBox_Type)), _
         System.Xml.Serialization.XmlElementAttribute("WalkPreference", GetType(WalkPreference_Type))> _
        Public Property Items() As Cell_Type()
            Get
                Return Me.itemsField
            End Get
            Set(value As Cell_Type())
                Me.itemsField = value
            End Set
        End Property
    End Class ' msicellaneous section

    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038"), _
     System.SerializableAttribute(), _
     System.Diagnostics.DebuggerStepThroughAttribute(), _
     System.ComponentModel.DesignerCategoryAttribute("code"), _
     System.Xml.Serialization.XmlTypeAttribute([Namespace]:="http://schemas.microsoft.com/visio/2003/core")> _
    Partial Public Class Protection_Type
        Inherits Row_Type

        Private itemsField() As Cell_Type

        '''<remarks/>
        <System.Xml.Serialization.XmlElementAttribute("LockAspect", GetType(LockAspect_Type)), _
         System.Xml.Serialization.XmlElementAttribute("LockBegin", GetType(LockBegin_Type)), _
         System.Xml.Serialization.XmlElementAttribute("LockCalcWH", GetType(LockCalcWH_Type)), _
         System.Xml.Serialization.XmlElementAttribute("LockCrop", GetType(LockCrop_Type)), _
         System.Xml.Serialization.XmlElementAttribute("LockCustProp", GetType(LockCustProp_Type)), _
         System.Xml.Serialization.XmlElementAttribute("LockDelete", GetType(LockDelete_Type)), _
         System.Xml.Serialization.XmlElementAttribute("LockEnd", GetType(LockEnd_Type)), _
         System.Xml.Serialization.XmlElementAttribute("LockFormat", GetType(LockFormat_Type)), _
         System.Xml.Serialization.XmlElementAttribute("LockGroup", GetType(LockGroup_Type)), _
         System.Xml.Serialization.XmlElementAttribute("LockHeight", GetType(LockHeight_Type)), _
         System.Xml.Serialization.XmlElementAttribute("LockMoveX", GetType(LockMoveX_Type)), _
         System.Xml.Serialization.XmlElementAttribute("LockMoveY", GetType(LockMoveY_Type)), _
         System.Xml.Serialization.XmlElementAttribute("LockRotate", GetType(LockRotate_Type)), _
         System.Xml.Serialization.XmlElementAttribute("LockSelect", GetType(LockSelect_Type)), _
         System.Xml.Serialization.XmlElementAttribute("LockTextEdit", GetType(LockTextEdit_Type)), _
         System.Xml.Serialization.XmlElementAttribute("LockVtxEdit", GetType(LockVtxEdit_Type)), _
         System.Xml.Serialization.XmlElementAttribute("LockWidth", GetType(LockWidth_Type))> _
        Public Property Items() As Cell_Type()
            Get
                Return Me.itemsField
            End Get
            Set(value As Cell_Type())
                Me.itemsField = value
            End Set
        End Property
    End Class ' protection

    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038"), _
     System.SerializableAttribute(), _
     System.Diagnostics.DebuggerStepThroughAttribute(), _
     System.ComponentModel.DesignerCategoryAttribute("code"), _
     System.Xml.Serialization.XmlTypeAttribute([Namespace]:="http://schemas.microsoft.com/visio/2003/core")> _
    Partial Public Class LayerMem_Type
        Inherits Row_Type

        Private itemsField() As LayerMember_Type

        '''<remarks/>
        <System.Xml.Serialization.XmlElementAttribute("LayerMember")> _
        Public Property Items() As LayerMember_Type()
            Get
                Return Me.itemsField
            End Get
            Set(value As LayerMember_Type())
                Me.itemsField = value
            End Set
        End Property
    End Class ' layer membership

    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038"), _
     System.SerializableAttribute(), _
     System.Diagnostics.DebuggerStepThroughAttribute(), _
     System.ComponentModel.DesignerCategoryAttribute("code"), _
     System.Xml.Serialization.XmlTypeAttribute([Namespace]:="http://schemas.microsoft.com/visio/2003/core")> _
    Partial Public Class Event_Type
        Inherits Row_Type

        Private itemsField() As Cell_Type

        '''<remarks/>
        <System.Xml.Serialization.XmlElementAttribute("EventDblClick", GetType(EventDblClick_Type)), _
         System.Xml.Serialization.XmlElementAttribute("EventDrop", GetType(EventDrop_Type)), _
         System.Xml.Serialization.XmlElementAttribute("EventXFMod", GetType(EventXFMod_Type)), _
         System.Xml.Serialization.XmlElementAttribute("TheData", GetType(TheData_Type)), _
         System.Xml.Serialization.XmlElementAttribute("TheText", GetType(TheText_Type))> _
        Public Property Items() As Cell_Type()
            Get
                Return Me.itemsField
            End Get
            Set(value As Cell_Type())
                Me.itemsField = value
            End Set
        End Property
    End Class ' event row 

    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038"), _
     System.SerializableAttribute(), _
     System.Diagnostics.DebuggerStepThroughAttribute(), _
     System.ComponentModel.DesignerCategoryAttribute("code"), _
     System.Xml.Serialization.XmlTypeAttribute([Namespace]:="http://schemas.microsoft.com/visio/2003/core")> _
    Partial Public Class XForm1D_Type
        Inherits Row_Type

        Private itemsField() As Cell_Type

        '''<remarks/>
        <System.Xml.Serialization.XmlElementAttribute("BeginX", GetType(BeginX_Type)), _
         System.Xml.Serialization.XmlElementAttribute("BeginY", GetType(BeginY_Type)), _
         System.Xml.Serialization.XmlElementAttribute("EndX", GetType(EndX_Type)), _
         System.Xml.Serialization.XmlElementAttribute("EndY", GetType(EndY_Type))> _
        Public Property Items() As Cell_Type()
            Get
                Return Me.itemsField
            End Get
            Set(value As Cell_Type())
                Me.itemsField = value
            End Set
        End Property
    End Class ' oneD Row

    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038"), _
     System.SerializableAttribute(), _
     System.Diagnostics.DebuggerStepThroughAttribute(), _
     System.ComponentModel.DesignerCategoryAttribute("code"), _
     System.Xml.Serialization.XmlTypeAttribute([Namespace]:="http://schemas.microsoft.com/visio/2003/core")> _
    Partial Public Class XForm_Type
        Inherits Row_Type

        Private itemsField() As Cell_Type

        '''<remarks/>
        <System.Xml.Serialization.XmlElementAttribute("Angle", GetType(Angle_Type)), _
         System.Xml.Serialization.XmlElementAttribute("FlipX", GetType(FlipX_Type)), _
         System.Xml.Serialization.XmlElementAttribute("FlipY", GetType(FlipY_Type)), _
         System.Xml.Serialization.XmlElementAttribute("Height", GetType(Height_Type)), _
         System.Xml.Serialization.XmlElementAttribute("LocPinX", GetType(LocPinX_Type)), _
         System.Xml.Serialization.XmlElementAttribute("LocPinY", GetType(LocPinY_Type)), _
         System.Xml.Serialization.XmlElementAttribute("PinX", GetType(PinX_Type)), _
         System.Xml.Serialization.XmlElementAttribute("PinY", GetType(PinY_Type)), _
         System.Xml.Serialization.XmlElementAttribute("ResizeMode", GetType(ResizeMode_Type)), _
         System.Xml.Serialization.XmlElementAttribute("Width", GetType(Width_Type))> _
        Public Property Items() As Cell_Type()
            Get
                Return Me.itemsField
            End Get
            Set(value As Cell_Type())
                Me.itemsField = value
            End Set
        End Property
    End Class ' shape transform row 



#Region " Geometry "


    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038"), _
     System.SerializableAttribute(), _
     System.Diagnostics.DebuggerStepThroughAttribute(), _
     System.ComponentModel.DesignerCategoryAttribute("code"), _
     System.Xml.Serialization.XmlTypeAttribute([Namespace]:="http://schemas.microsoft.com/visio/2003/core")> _
    Partial Public Class Geom_Type
        Inherits GeomSection_Type

        Private itemsField() As Object

        '''<remarks/>
        <System.Xml.Serialization.XmlElementAttribute("ArcTo", GetType(ArcTo_Type)), _
         System.Xml.Serialization.XmlElementAttribute("Ellipse", GetType(Ellipse_Type)), _
         System.Xml.Serialization.XmlElementAttribute("EllipticalArcTo", GetType(EllipticalArcTo_Type)), _
         System.Xml.Serialization.XmlElementAttribute("InfiniteLine", GetType(InfiniteLine_Type)), _
         System.Xml.Serialization.XmlElementAttribute("LineTo", GetType(LineTo_Type)), _
         System.Xml.Serialization.XmlElementAttribute("MoveTo", GetType(MoveTo_Type)), _
         System.Xml.Serialization.XmlElementAttribute("NURBSTo", GetType(NURBSTo_Type)), _
         System.Xml.Serialization.XmlElementAttribute("NoFill", GetType(NoFill_Type)), _
         System.Xml.Serialization.XmlElementAttribute("NoLine", GetType(NoLine_Type)), _
         System.Xml.Serialization.XmlElementAttribute("NoShow", GetType(NoShow_Type)), _
         System.Xml.Serialization.XmlElementAttribute("NoSnap", GetType(NoSnap_Type)), _
         System.Xml.Serialization.XmlElementAttribute("PolylineTo", GetType(PolylineTo_Type)), _
         System.Xml.Serialization.XmlElementAttribute("SplineKnot", GetType(SplineKnot_Type)), _
         System.Xml.Serialization.XmlElementAttribute("SplineStart", GetType(SplineStart_Type))> _
        Public Property Items() As Object()
            Get
                Return Me.itemsField
            End Get
            Set(value As Object())
                Me.itemsField = value
            End Set
        End Property
    End Class


    '''<remarks/>
    <System.Xml.Serialization.XmlIncludeAttribute(GetType(Geom_Type)), _
     System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038"), _
     System.SerializableAttribute(), _
     System.Diagnostics.DebuggerStepThroughAttribute(), _
     System.ComponentModel.DesignerCategoryAttribute("code"), _
     System.Xml.Serialization.XmlTypeAttribute([Namespace]:="http://schemas.microsoft.com/visio/2003/core")> _
    Partial Public Class GeomSection_Type

        Private ixField As ULong

        Private ixFieldSpecified As Boolean

        Private delField As ISOBoolean

        Private delFieldSpecified As Boolean

        '''<remarks/>
        <System.Xml.Serialization.XmlAttributeAttribute()> _
        Public Property IX() As ULong
            Get
                Return Me.ixField
            End Get
            Set(value As ULong)
                Me.ixField = value
            End Set
        End Property

        '''<remarks/>
        <System.Xml.Serialization.XmlIgnoreAttribute()> _
        Public Property IXSpecified() As Boolean
            Get
                Return Me.ixFieldSpecified
            End Get
            Set(value As Boolean)
                Me.ixFieldSpecified = value
            End Set
        End Property

        '''<remarks/>
        <System.Xml.Serialization.XmlAttributeAttribute()> _
        Public Property Del() As ISOBoolean
            Get
                Return Me.delField
            End Get
            Set(value As ISOBoolean)
                Me.delField = value
            End Set
        End Property

        '''<remarks/>
        <System.Xml.Serialization.XmlIgnoreAttribute()> _
        Public Property DelSpecified() As Boolean
            Get
                Return Me.delFieldSpecified
            End Get
            Set(value As Boolean)
                Me.delFieldSpecified = value
            End Set
        End Property
    End Class


    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038"), _
     System.SerializableAttribute(), _
     System.Diagnostics.DebuggerStepThroughAttribute(), _
     System.ComponentModel.DesignerCategoryAttribute("code"), _
     System.Xml.Serialization.XmlTypeAttribute([Namespace]:="http://schemas.microsoft.com/visio/2003/core")> _
    Partial Public Class NURBSTo_Type
        Inherits IndexedRow_Type

        Private xField As X_Type

        Private yField As Y_Type

        Private aField As A_Type

        Private bField As B_Type

        Private cField As C_Type

        Private dField As D_Type

        Private eField As E_Type

        '''<remarks/>
        Public Property X() As X_Type
            Get
                Return Me.xField
            End Get
            Set(value As X_Type)
                Me.xField = value
            End Set
        End Property

        '''<remarks/>
        Public Property Y() As Y_Type
            Get
                Return Me.yField
            End Get
            Set(value As Y_Type)
                Me.yField = value
            End Set
        End Property

        '''<remarks/>
        Public Property A() As A_Type
            Get
                Return Me.aField
            End Get
            Set(value As A_Type)
                Me.aField = value
            End Set
        End Property

        '''<remarks/>
        Public Property B() As B_Type
            Get
                Return Me.bField
            End Get
            Set(value As B_Type)
                Me.bField = value
            End Set
        End Property

        '''<remarks/>
        Public Property C() As C_Type
            Get
                Return Me.cField
            End Get
            Set(value As C_Type)
                Me.cField = value
            End Set
        End Property

        '''<remarks/>
        Public Property D() As D_Type
            Get
                Return Me.dField
            End Get
            Set(value As D_Type)
                Me.dField = value
            End Set
        End Property

        '''<remarks/>
        Public Property E() As E_Type
            Get
                Return Me.eField
            End Get
            Set(value As E_Type)
                Me.eField = value
            End Set
        End Property
    End Class ' geometry nurbsto

    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038"), _
     System.SerializableAttribute(), _
     System.Diagnostics.DebuggerStepThroughAttribute(), _
     System.ComponentModel.DesignerCategoryAttribute("code"), _
     System.Xml.Serialization.XmlTypeAttribute([Namespace]:="http://schemas.microsoft.com/visio/2003/core")> _
    Partial Public Class PolylineTo_Type
        Inherits IndexedRow_Type

        Private xField As X_Type

        Private yField As Y_Type

        Private aField As A_Type

        '''<remarks/>
        Public Property X() As X_Type
            Get
                Return Me.xField
            End Get
            Set(value As X_Type)
                Me.xField = value
            End Set
        End Property

        '''<remarks/>
        Public Property Y() As Y_Type
            Get
                Return Me.yField
            End Get
            Set(value As Y_Type)
                Me.yField = value
            End Set
        End Property

        '''<remarks/>
        Public Property A() As A_Type
            Get
                Return Me.aField
            End Get
            Set(value As A_Type)
                Me.aField = value
            End Set
        End Property
    End Class ' geometry linesto

    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038"), _
     System.SerializableAttribute(), _
     System.Diagnostics.DebuggerStepThroughAttribute(), _
     System.ComponentModel.DesignerCategoryAttribute("code"), _
     System.Xml.Serialization.XmlTypeAttribute([Namespace]:="http://schemas.microsoft.com/visio/2003/core")> _
    Partial Public Class SplineKnot_Type
        Inherits IndexedRow_Type

        Private xField As X_Type

        Private yField As Y_Type

        Private aField As A_Type

        '''<remarks/>
        Public Property X() As X_Type
            Get
                Return Me.xField
            End Get
            Set(value As X_Type)
                Me.xField = value
            End Set
        End Property

        '''<remarks/>
        Public Property Y() As Y_Type
            Get
                Return Me.yField
            End Get
            Set(value As Y_Type)
                Me.yField = value
            End Set
        End Property

        '''<remarks/>
        Public Property A() As A_Type
            Get
                Return Me.aField
            End Get
            Set(value As A_Type)
                Me.aField = value
            End Set
        End Property
    End Class ' geometry splineknot

    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038"), _
     System.SerializableAttribute(), _
     System.Diagnostics.DebuggerStepThroughAttribute(), _
     System.ComponentModel.DesignerCategoryAttribute("code"), _
     System.Xml.Serialization.XmlTypeAttribute([Namespace]:="http://schemas.microsoft.com/visio/2003/core")> _
    Partial Public Class SplineStart_Type
        Inherits IndexedRow_Type

        Private xField As X_Type

        Private yField As Y_Type

        Private aField As A_Type

        Private bField As B_Type

        Private cField As C_Type

        Private dField As D_Type

        '''<remarks/>
        Public Property X() As X_Type
            Get
                Return Me.xField
            End Get
            Set(value As X_Type)
                Me.xField = value
            End Set
        End Property

        '''<remarks/>
        Public Property Y() As Y_Type
            Get
                Return Me.yField
            End Get
            Set(value As Y_Type)
                Me.yField = value
            End Set
        End Property

        '''<remarks/>
        Public Property A() As A_Type
            Get
                Return Me.aField
            End Get
            Set(value As A_Type)
                Me.aField = value
            End Set
        End Property

        '''<remarks/>
        Public Property B() As B_Type
            Get
                Return Me.bField
            End Get
            Set(value As B_Type)
                Me.bField = value
            End Set
        End Property

        '''<remarks/>
        Public Property C() As C_Type
            Get
                Return Me.cField
            End Get
            Set(value As C_Type)
                Me.cField = value
            End Set
        End Property

        '''<remarks/>
        Public Property D() As D_Type
            Get
                Return Me.dField
            End Get
            Set(value As D_Type)
                Me.dField = value
            End Set
        End Property
    End Class ' geometry spline start

    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038"), _
     System.SerializableAttribute(), _
     System.Diagnostics.DebuggerStepThroughAttribute(), _
     System.ComponentModel.DesignerCategoryAttribute("code"), _
     System.Xml.Serialization.XmlTypeAttribute([Namespace]:="http://schemas.microsoft.com/visio/2003/core")> _
    Partial Public Class EllipticalArcTo_Type
        Inherits IndexedRow_Type

        Private xField As X_Type

        Private yField As Y_Type

        Private aField As A_Type

        Private bField As B_Type

        Private cField As C_Type

        Private dField As D_Type

        '''<remarks/>
        Public Property X() As X_Type
            Get
                Return Me.xField
            End Get
            Set(value As X_Type)
                Me.xField = value
            End Set
        End Property

        '''<remarks/>
        Public Property Y() As Y_Type
            Get
                Return Me.yField
            End Get
            Set(value As Y_Type)
                Me.yField = value
            End Set
        End Property

        '''<remarks/>
        Public Property A() As A_Type
            Get
                Return Me.aField
            End Get
            Set(value As A_Type)
                Me.aField = value
            End Set
        End Property

        '''<remarks/>
        Public Property B() As B_Type
            Get
                Return Me.bField
            End Get
            Set(value As B_Type)
                Me.bField = value
            End Set
        End Property

        '''<remarks/>
        Public Property C() As C_Type
            Get
                Return Me.cField
            End Get
            Set(value As C_Type)
                Me.cField = value
            End Set
        End Property

        '''<remarks/>
        Public Property D() As D_Type
            Get
                Return Me.dField
            End Get
            Set(value As D_Type)
                Me.dField = value
            End Set
        End Property
    End Class ' geometry 

    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038"), _
     System.SerializableAttribute(), _
     System.Diagnostics.DebuggerStepThroughAttribute(), _
     System.ComponentModel.DesignerCategoryAttribute("code"), _
     System.Xml.Serialization.XmlTypeAttribute([Namespace]:="http://schemas.microsoft.com/visio/2003/core")> _
    Partial Public Class Ellipse_Type
        Inherits IndexedRow_Type

        Private xField As X_Type

        Private yField As Y_Type

        Private aField As A_Type

        Private bField As B_Type

        Private cField As C_Type

        Private dField As D_Type

        '''<remarks/>
        Public Property X() As X_Type
            Get
                Return Me.xField
            End Get
            Set(value As X_Type)
                Me.xField = value
            End Set
        End Property

        '''<remarks/>
        Public Property Y() As Y_Type
            Get
                Return Me.yField
            End Get
            Set(value As Y_Type)
                Me.yField = value
            End Set
        End Property

        '''<remarks/>
        Public Property A() As A_Type
            Get
                Return Me.aField
            End Get
            Set(value As A_Type)
                Me.aField = value
            End Set
        End Property

        '''<remarks/>
        Public Property B() As B_Type
            Get
                Return Me.bField
            End Get
            Set(value As B_Type)
                Me.bField = value
            End Set
        End Property

        '''<remarks/>
        Public Property C() As C_Type
            Get
                Return Me.cField
            End Get
            Set(value As C_Type)
                Me.cField = value
            End Set
        End Property

        '''<remarks/>
        Public Property D() As D_Type
            Get
                Return Me.dField
            End Get
            Set(value As D_Type)
                Me.dField = value
            End Set
        End Property
    End Class 'Geometry

    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038"), _
     System.SerializableAttribute(), _
     System.Diagnostics.DebuggerStepThroughAttribute(), _
     System.ComponentModel.DesignerCategoryAttribute("code"), _
     System.Xml.Serialization.XmlTypeAttribute([Namespace]:="http://schemas.microsoft.com/visio/2003/core")> _
    Partial Public Class InfiniteLine_Type
        Inherits IndexedRow_Type

        Private xField As X_Type

        Private yField As Y_Type

        Private aField As A_Type

        Private bField As B_Type

        '''<remarks/>
        Public Property X() As X_Type
            Get
                Return Me.xField
            End Get
            Set(value As X_Type)
                Me.xField = value
            End Set
        End Property

        '''<remarks/>
        Public Property Y() As Y_Type
            Get
                Return Me.yField
            End Get
            Set(value As Y_Type)
                Me.yField = value
            End Set
        End Property

        '''<remarks/>
        Public Property A() As A_Type
            Get
                Return Me.aField
            End Get
            Set(value As A_Type)
                Me.aField = value
            End Set
        End Property

        '''<remarks/>
        Public Property B() As B_Type
            Get
                Return Me.bField
            End Get
            Set(value As B_Type)
                Me.bField = value
            End Set
        End Property
    End Class ' geometry

    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038"), _
     System.SerializableAttribute(), _
     System.Diagnostics.DebuggerStepThroughAttribute(), _
     System.ComponentModel.DesignerCategoryAttribute("code"), _
     System.Xml.Serialization.XmlTypeAttribute([Namespace]:="http://schemas.microsoft.com/visio/2003/core")> _
    Partial Public Class ArcTo_Type
        Inherits IndexedRow_Type

        Private xField As X_Type

        Private yField As Y_Type

        Private aField As A_Type

        '''<remarks/>
        Public Property X() As X_Type
            Get
                Return Me.xField
            End Get
            Set(value As X_Type)
                Me.xField = value
            End Set
        End Property

        '''<remarks/>
        Public Property Y() As Y_Type
            Get
                Return Me.yField
            End Get
            Set(value As Y_Type)
                Me.yField = value
            End Set
        End Property

        '''<remarks/>
        Public Property A() As A_Type
            Get
                Return Me.aField
            End Get
            Set(value As A_Type)
                Me.aField = value
            End Set
        End Property
    End Class ' geometry

    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038"), _
     System.SerializableAttribute(), _
     System.Diagnostics.DebuggerStepThroughAttribute(), _
     System.ComponentModel.DesignerCategoryAttribute("code"), _
     System.Xml.Serialization.XmlTypeAttribute([Namespace]:="http://schemas.microsoft.com/visio/2003/core")> _
    Partial Public Class LineTo_Type
        Inherits IndexedRow_Type

        Private xField As X_Type

        Private yField As Y_Type

        '''<remarks/>
        Public Property X() As X_Type
            Get
                Return Me.xField
            End Get
            Set(value As X_Type)
                Me.xField = value
            End Set
        End Property

        '''<remarks/>
        Public Property Y() As Y_Type
            Get
                Return Me.yField
            End Get
            Set(value As Y_Type)
                Me.yField = value
            End Set
        End Property
    End Class ' geometry

    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038"), _
     System.SerializableAttribute(), _
     System.Diagnostics.DebuggerStepThroughAttribute(), _
     System.ComponentModel.DesignerCategoryAttribute("code"), _
     System.Xml.Serialization.XmlTypeAttribute([Namespace]:="http://schemas.microsoft.com/visio/2003/core")> _
    Partial Public Class MoveTo_Type
        Inherits IndexedRow_Type

        Private xField As X_Type

        Private yField As Y_Type

        '''<remarks/>
        Public Property X() As X_Type
            Get
                Return Me.xField
            End Get
            Set(value As X_Type)
                Me.xField = value
            End Set
        End Property

        '''<remarks/>
        Public Property Y() As Y_Type
            Get
                Return Me.yField
            End Get
            Set(value As Y_Type)
                Me.yField = value
            End Set
        End Property
    End Class ' geometry




#End Region

#Region " shape formatting "

    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038"), _
     System.SerializableAttribute(), _
     System.Diagnostics.DebuggerStepThroughAttribute(), _
     System.ComponentModel.DesignerCategoryAttribute("code"), _
     System.Xml.Serialization.XmlTypeAttribute([Namespace]:="http://schemas.microsoft.com/visio/2003/core")> _
    Partial Public Class Fill_Type
        Inherits Row_Type

        Private itemsField() As Cell_Type

        '''<remarks/>
        <System.Xml.Serialization.XmlElementAttribute("FillBkgnd", GetType(FillBkgnd_Type)), _
         System.Xml.Serialization.XmlElementAttribute("FillBkgndTrans", GetType(FillBkgndTrans_Type)), _
         System.Xml.Serialization.XmlElementAttribute("FillForegnd", GetType(FillForegnd_Type)), _
         System.Xml.Serialization.XmlElementAttribute("FillForegndTrans", GetType(FillForegndTrans_Type)), _
         System.Xml.Serialization.XmlElementAttribute("FillPattern", GetType(FillPattern_Type)), _
         System.Xml.Serialization.XmlElementAttribute("ShapeShdwObliqueAngle", GetType(ShapeShdwObliqueAngle_Type)), _
         System.Xml.Serialization.XmlElementAttribute("ShapeShdwOffsetX", GetType(ShapeShdwOffsetX_Type)), _
         System.Xml.Serialization.XmlElementAttribute("ShapeShdwOffsetY", GetType(ShapeShdwOffsetY_Type)), _
         System.Xml.Serialization.XmlElementAttribute("ShapeShdwScaleFactor", GetType(ShapeShdwScaleFactor_Type)), _
         System.Xml.Serialization.XmlElementAttribute("ShapeShdwType", GetType(ShapeShdwType_Type)), _
         System.Xml.Serialization.XmlElementAttribute("ShdwBkgnd", GetType(ShdwBkgnd_Type)), _
         System.Xml.Serialization.XmlElementAttribute("ShdwBkgndTrans", GetType(ShdwBkgndTrans_Type)), _
         System.Xml.Serialization.XmlElementAttribute("ShdwForegnd", GetType(ShdwForegnd_Type)), _
         System.Xml.Serialization.XmlElementAttribute("ShdwForegndTrans", GetType(ShdwForegndTrans_Type)), _
         System.Xml.Serialization.XmlElementAttribute("ShdwPattern", GetType(ShdwPattern_Type))> _
        Public Property Items() As Cell_Type()
            Get
                Return Me.itemsField
            End Get
            Set(value As Cell_Type())
                Me.itemsField = value
            End Set
        End Property
    End Class ' fill format row type

    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038"), _
     System.SerializableAttribute(), _
     System.Diagnostics.DebuggerStepThroughAttribute(), _
     System.ComponentModel.DesignerCategoryAttribute("code"), _
     System.Xml.Serialization.XmlTypeAttribute([Namespace]:="http://schemas.microsoft.com/visio/2003/core")> _
    Partial Public Class Line_Type
        Inherits Row_Type

        Private itemsField() As Cell_Type

        '''<remarks/>
        <System.Xml.Serialization.XmlElementAttribute("BeginArrow", GetType(BeginArrow_Type)), _
         System.Xml.Serialization.XmlElementAttribute("BeginArrowSize", GetType(BeginArrowSize_Type)), _
         System.Xml.Serialization.XmlElementAttribute("EndArrow", GetType(EndArrow_Type)), _
         System.Xml.Serialization.XmlElementAttribute("EndArrowSize", GetType(EndArrowSize_Type)), _
         System.Xml.Serialization.XmlElementAttribute("LineCap", GetType(LineCap_Type)), _
         System.Xml.Serialization.XmlElementAttribute("LineColor", GetType(LineColor_Type)), _
         System.Xml.Serialization.XmlElementAttribute("LineColorTrans", GetType(LineColorTrans_Type)), _
         System.Xml.Serialization.XmlElementAttribute("LinePattern", GetType(LinePattern_Type)), _
         System.Xml.Serialization.XmlElementAttribute("LineWeight", GetType(LineWeight_Type)), _
         System.Xml.Serialization.XmlElementAttribute("Rounding", GetType(Rounding_Type))> _
        Public Property Items() As Cell_Type()
            Get
                Return Me.itemsField
            End Get
            Set(value As Cell_Type())
                Me.itemsField = value
            End Set
        End Property
    End Class ' line format row 


#End Region

#Region " text operations "


    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038"), _
     System.SerializableAttribute(), _
     System.Diagnostics.DebuggerStepThroughAttribute(), _
     System.ComponentModel.DesignerCategoryAttribute("code"), _
     System.Xml.Serialization.XmlTypeAttribute([Namespace]:="http://schemas.microsoft.com/visio/2003/core")> _
    Partial Public Class Tabs_Type
        Inherits IndexedRow_Type

        Private tabField() As Tab_Type

        '''<remarks/>
        <System.Xml.Serialization.XmlElementAttribute("Tab")> _
        Public Property Tab() As Tab_Type()
            Get
                Return Me.tabField
            End Get
            Set(value As Tab_Type())
                Me.tabField = value
            End Set
        End Property
    End Class ' tabs

    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038"), _
     System.SerializableAttribute(), _
     System.Diagnostics.DebuggerStepThroughAttribute(), _
     System.ComponentModel.DesignerCategoryAttribute("code"), _
     System.Xml.Serialization.XmlTypeAttribute([Namespace]:="http://schemas.microsoft.com/visio/2003/core")> _
    Partial Public Class Tab_Type

        Private positionField As Position_Type

        Private alignmentField As Alignment_Type

        Private leaderField As Leader_Type

        Private ixField As ULong

        Private ixFieldSpecified As Boolean

        '''<remarks/>
        Public Property Position() As Position_Type
            Get
                Return Me.positionField
            End Get
            Set(value As Position_Type)
                Me.positionField = value
            End Set
        End Property

        '''<remarks/>
        Public Property Alignment() As Alignment_Type
            Get
                Return Me.alignmentField
            End Get
            Set(value As Alignment_Type)
                Me.alignmentField = value
            End Set
        End Property

        '''<remarks/>
        Public Property Leader() As Leader_Type
            Get
                Return Me.leaderField
            End Get
            Set(value As Leader_Type)
                Me.leaderField = value
            End Set
        End Property

        '''<remarks/>
        <System.Xml.Serialization.XmlAttributeAttribute()> _
        Public Property IX() As ULong
            Get
                Return Me.ixField
            End Get
            Set(value As ULong)
                Me.ixField = value
            End Set
        End Property

        '''<remarks/>
        <System.Xml.Serialization.XmlIgnoreAttribute()> _
        Public Property IXSpecified() As Boolean
            Get
                Return Me.ixFieldSpecified
            End Get
            Set(value As Boolean)
                Me.ixFieldSpecified = value
            End Set
        End Property
    End Class ' tab

    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038"), _
     System.SerializableAttribute(), _
     System.Diagnostics.DebuggerStepThroughAttribute(), _
     System.ComponentModel.DesignerCategoryAttribute("code"), _
     System.Xml.Serialization.XmlTypeAttribute([Namespace]:="http://schemas.microsoft.com/visio/2003/core")> _
    Partial Public Class Para_Type
        Inherits IndexedRow_Type

        Private indFirstField As IndFirst_Type

        Private indLeftField As IndLeft_Type

        Private indRightField As IndRight_Type

        Private spLineField As SpLine_Type

        Private spBeforeField As SpBefore_Type

        Private spAfterField As SpAfter_Type

        Private horzAlignField As HorzAlign_Type

        Private bulletField As Bullet_Type

        Private bulletStrField As BulletStr_Type

        Private bulletFontField As BulletFont_Type

        Private localizeBulletFontField As LocalizeBulletFont_Type

        Private bulletFontSizeField As BulletFontSize_Type

        Private textPosAfterBulletField As TextPosAfterBullet_Type

        Private flagsField As Flags_Type

        '''<remarks/>
        Public Property IndFirst() As IndFirst_Type
            Get
                Return Me.indFirstField
            End Get
            Set(value As IndFirst_Type)
                Me.indFirstField = value
            End Set
        End Property

        '''<remarks/>
        Public Property IndLeft() As IndLeft_Type
            Get
                Return Me.indLeftField
            End Get
            Set(value As IndLeft_Type)
                Me.indLeftField = value
            End Set
        End Property

        '''<remarks/>
        Public Property IndRight() As IndRight_Type
            Get
                Return Me.indRightField
            End Get
            Set(value As IndRight_Type)
                Me.indRightField = value
            End Set
        End Property

        '''<remarks/>
        Public Property SpLine() As SpLine_Type
            Get
                Return Me.spLineField
            End Get
            Set(value As SpLine_Type)
                Me.spLineField = value
            End Set
        End Property

        '''<remarks/>
        Public Property SpBefore() As SpBefore_Type
            Get
                Return Me.spBeforeField
            End Get
            Set(value As SpBefore_Type)
                Me.spBeforeField = value
            End Set
        End Property

        '''<remarks/>
        Public Property SpAfter() As SpAfter_Type
            Get
                Return Me.spAfterField
            End Get
            Set(value As SpAfter_Type)
                Me.spAfterField = value
            End Set
        End Property

        '''<remarks/>
        Public Property HorzAlign() As HorzAlign_Type
            Get
                Return Me.horzAlignField
            End Get
            Set(value As HorzAlign_Type)
                Me.horzAlignField = value
            End Set
        End Property

        '''<remarks/>
        Public Property Bullet() As Bullet_Type
            Get
                Return Me.bulletField
            End Get
            Set(value As Bullet_Type)
                Me.bulletField = value
            End Set
        End Property

        '''<remarks/>
        Public Property BulletStr() As BulletStr_Type
            Get
                Return Me.bulletStrField
            End Get
            Set(value As BulletStr_Type)
                Me.bulletStrField = value
            End Set
        End Property

        '''<remarks/>
        Public Property BulletFont() As BulletFont_Type
            Get
                Return Me.bulletFontField
            End Get
            Set(value As BulletFont_Type)
                Me.bulletFontField = value
            End Set
        End Property

        '''<remarks/>
        Public Property LocalizeBulletFont() As LocalizeBulletFont_Type
            Get
                Return Me.localizeBulletFontField
            End Get
            Set(value As LocalizeBulletFont_Type)
                Me.localizeBulletFontField = value
            End Set
        End Property

        '''<remarks/>
        Public Property BulletFontSize() As BulletFontSize_Type
            Get
                Return Me.bulletFontSizeField
            End Get
            Set(value As BulletFontSize_Type)
                Me.bulletFontSizeField = value
            End Set
        End Property

        '''<remarks/>
        Public Property TextPosAfterBullet() As TextPosAfterBullet_Type
            Get
                Return Me.textPosAfterBulletField
            End Get
            Set(value As TextPosAfterBullet_Type)
                Me.textPosAfterBulletField = value
            End Set
        End Property

        '''<remarks/>
        Public Property Flags() As Flags_Type
            Get
                Return Me.flagsField
            End Get
            Set(value As Flags_Type)
                Me.flagsField = value
            End Set
        End Property
    End Class ' paragraph

    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038"), _
     System.SerializableAttribute(), _
     System.Diagnostics.DebuggerStepThroughAttribute(), _
     System.ComponentModel.DesignerCategoryAttribute("code"), _
     System.Xml.Serialization.XmlTypeAttribute([Namespace]:="http://schemas.microsoft.com/visio/2003/core")> _
    Partial Public Class Char_Type
        Inherits IndexedRow_Type

        Private fontField As Font_Type

        Private colorField As Color_Type

        Private styleField As Style_Type

        Private caseField As Case_Type

        Private posField As Pos_Type

        Private fontScaleField As FontScale_Type

        Private localeField As Locale_Type

        Private sizeField As Size_Type

        Private dblUnderlineField As DblUnderline_Type

        Private overlineField As Overline_Type

        Private strikethruField As Strikethru_Type

        Private highlightField As Highlight_Type

        Private perpendicularField As Perpendicular_Type

        Private doubleStrikethroughField As DoubleStrikethrough_Type

        Private rTLTextField As RTLText_Type

        Private useVerticalField As UseVertical_Type

        Private letterspaceField As Letterspace_Type

        Private colorTransField As ColorTrans_Type

        Private asianFontField As AsianFont_Type

        Private complexScriptFontField As ComplexScriptFont_Type

        Private localizeFontField As LocalizeFont_Type

        Private complexScriptSizeField As ComplexScriptSize_Type

        Private langIDField As LangID_Type

        '''<remarks/>
        Public Property Font() As Font_Type
            Get
                Return Me.fontField
            End Get
            Set(value As Font_Type)
                Me.fontField = value
            End Set
        End Property

        '''<remarks/>
        Public Property Color() As Color_Type
            Get
                Return Me.colorField
            End Get
            Set(value As Color_Type)
                Me.colorField = value
            End Set
        End Property

        '''<remarks/>
        Public Property Style() As Style_Type
            Get
                Return Me.styleField
            End Get
            Set(value As Style_Type)
                Me.styleField = value
            End Set
        End Property

        '''<remarks/>
        Public Property [Case]() As Case_Type
            Get
                Return Me.caseField
            End Get
            Set(value As Case_Type)
                Me.caseField = value
            End Set
        End Property

        '''<remarks/>
        Public Property Pos() As Pos_Type
            Get
                Return Me.posField
            End Get
            Set(value As Pos_Type)
                Me.posField = value
            End Set
        End Property

        '''<remarks/>
        Public Property FontScale() As FontScale_Type
            Get
                Return Me.fontScaleField
            End Get
            Set(value As FontScale_Type)
                Me.fontScaleField = value
            End Set
        End Property

        '''<remarks/>
        Public Property Locale() As Locale_Type
            Get
                Return Me.localeField
            End Get
            Set(value As Locale_Type)
                Me.localeField = value
            End Set
        End Property

        '''<remarks/>
        Public Property Size() As Size_Type
            Get
                Return Me.sizeField
            End Get
            Set(value As Size_Type)
                Me.sizeField = value
            End Set
        End Property

        '''<remarks/>
        Public Property DblUnderline() As DblUnderline_Type
            Get
                Return Me.dblUnderlineField
            End Get
            Set(value As DblUnderline_Type)
                Me.dblUnderlineField = value
            End Set
        End Property

        '''<remarks/>
        Public Property Overline() As Overline_Type
            Get
                Return Me.overlineField
            End Get
            Set(value As Overline_Type)
                Me.overlineField = value
            End Set
        End Property

        '''<remarks/>
        Public Property Strikethru() As Strikethru_Type
            Get
                Return Me.strikethruField
            End Get
            Set(value As Strikethru_Type)
                Me.strikethruField = value
            End Set
        End Property

        '''<remarks/>
        Public Property Highlight() As Highlight_Type
            Get
                Return Me.highlightField
            End Get
            Set(value As Highlight_Type)
                Me.highlightField = value
            End Set
        End Property

        '''<remarks/>
        Public Property Perpendicular() As Perpendicular_Type
            Get
                Return Me.perpendicularField
            End Get
            Set(value As Perpendicular_Type)
                Me.perpendicularField = value
            End Set
        End Property

        '''<remarks/>
        Public Property DoubleStrikethrough() As DoubleStrikethrough_Type
            Get
                Return Me.doubleStrikethroughField
            End Get
            Set(value As DoubleStrikethrough_Type)
                Me.doubleStrikethroughField = value
            End Set
        End Property

        '''<remarks/>
        Public Property RTLText() As RTLText_Type
            Get
                Return Me.rTLTextField
            End Get
            Set(value As RTLText_Type)
                Me.rTLTextField = value
            End Set
        End Property

        '''<remarks/>
        Public Property UseVertical() As UseVertical_Type
            Get
                Return Me.useVerticalField
            End Get
            Set(value As UseVertical_Type)
                Me.useVerticalField = value
            End Set
        End Property

        '''<remarks/>
        Public Property Letterspace() As Letterspace_Type
            Get
                Return Me.letterspaceField
            End Get
            Set(value As Letterspace_Type)
                Me.letterspaceField = value
            End Set
        End Property

        '''<remarks/>
        Public Property ColorTrans() As ColorTrans_Type
            Get
                Return Me.colorTransField
            End Get
            Set(value As ColorTrans_Type)
                Me.colorTransField = value
            End Set
        End Property

        '''<remarks/>
        Public Property AsianFont() As AsianFont_Type
            Get
                Return Me.asianFontField
            End Get
            Set(value As AsianFont_Type)
                Me.asianFontField = value
            End Set
        End Property

        '''<remarks/>
        Public Property ComplexScriptFont() As ComplexScriptFont_Type
            Get
                Return Me.complexScriptFontField
            End Get
            Set(value As ComplexScriptFont_Type)
                Me.complexScriptFontField = value
            End Set
        End Property

        '''<remarks/>
        Public Property LocalizeFont() As LocalizeFont_Type
            Get
                Return Me.localizeFontField
            End Get
            Set(value As LocalizeFont_Type)
                Me.localizeFontField = value
            End Set
        End Property

        '''<remarks/>
        Public Property ComplexScriptSize() As ComplexScriptSize_Type
            Get
                Return Me.complexScriptSizeField
            End Get
            Set(value As ComplexScriptSize_Type)
                Me.complexScriptSizeField = value
            End Set
        End Property

        '''<remarks/>
        Public Property LangID() As LangID_Type
            Get
                Return Me.langIDField
            End Get
            Set(value As LangID_Type)
                Me.langIDField = value
            End Set
        End Property
    End Class ' character

    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038"), _
     System.SerializableAttribute(), _
     System.Diagnostics.DebuggerStepThroughAttribute(), _
     System.ComponentModel.DesignerCategoryAttribute("code"), _
     System.Xml.Serialization.XmlTypeAttribute([Namespace]:="http://schemas.microsoft.com/visio/2003/core")> _
    Partial Public Class Field_Type
        Inherits IndexedRow_Type

        Private valueField As Value_Type

        Private editModeField As EditMode_Type

        Private formatField As Format_Type

        Private typeField As Type_Type

        Private uICatField As UICat_Type

        Private uICodField As UICod_Type

        Private uIFmtField As UIFmt_Type

        Private calendarField As Calendar_Type

        Private objectKindField As ObjectKind_Type

        '''<remarks/>
        Public Property Value() As Value_Type
            Get
                Return Me.valueField
            End Get
            Set(value As Value_Type)
                Me.valueField = value
            End Set
        End Property

        '''<remarks/>
        Public Property EditMode() As EditMode_Type
            Get
                Return Me.editModeField
            End Get
            Set(value As EditMode_Type)
                Me.editModeField = value
            End Set
        End Property

        '''<remarks/>
        Public Property Format() As Format_Type
            Get
                Return Me.formatField
            End Get
            Set(value As Format_Type)
                Me.formatField = value
            End Set
        End Property

        '''<remarks/>
        Public Property Type() As Type_Type
            Get
                Return Me.typeField
            End Get
            Set(value As Type_Type)
                Me.typeField = value
            End Set
        End Property

        '''<remarks/>
        Public Property UICat() As UICat_Type
            Get
                Return Me.uICatField
            End Get
            Set(value As UICat_Type)
                Me.uICatField = value
            End Set
        End Property

        '''<remarks/>
        Public Property UICod() As UICod_Type
            Get
                Return Me.uICodField
            End Get
            Set(value As UICod_Type)
                Me.uICodField = value
            End Set
        End Property

        '''<remarks/>
        Public Property UIFmt() As UIFmt_Type
            Get
                Return Me.uIFmtField
            End Get
            Set(value As UIFmt_Type)
                Me.uIFmtField = value
            End Set
        End Property

        '''<remarks/>
        Public Property Calendar() As Calendar_Type
            Get
                Return Me.calendarField
            End Get
            Set(value As Calendar_Type)
                Me.calendarField = value
            End Set
        End Property

        '''<remarks/>
        Public Property ObjectKind() As ObjectKind_Type
            Get
                Return Me.objectKindField
            End Get
            Set(value As ObjectKind_Type)
                Me.objectKindField = value
            End Set
        End Property
    End Class ' text field

    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038"), _
     System.SerializableAttribute(), _
     System.Diagnostics.DebuggerStepThroughAttribute(), _
     System.ComponentModel.DesignerCategoryAttribute("code"), _
     System.Xml.Serialization.XmlTypeAttribute([Namespace]:="http://schemas.microsoft.com/visio/2003/core")> _
    Partial Public Class TextBlock_Type
        Inherits Row_Type

        Private itemsField() As Cell_Type

        '''<remarks/>
        <System.Xml.Serialization.XmlElementAttribute("BottomMargin", GetType(BottomMargin_Type)), _
         System.Xml.Serialization.XmlElementAttribute("DefaultTabStop", GetType(DefaultTabStop_Type)), _
         System.Xml.Serialization.XmlElementAttribute("LeftMargin", GetType(LeftMargin_Type)), _
         System.Xml.Serialization.XmlElementAttribute("RightMargin", GetType(RightMargin_Type)), _
         System.Xml.Serialization.XmlElementAttribute("TextBkgnd", GetType(TextBkgnd_Type)), _
         System.Xml.Serialization.XmlElementAttribute("TextBkgndTrans", GetType(TextBkgndTrans_Type)), _
         System.Xml.Serialization.XmlElementAttribute("TextDirection", GetType(TextDirection_Type)), _
         System.Xml.Serialization.XmlElementAttribute("TopMargin", GetType(TopMargin_Type)), _
         System.Xml.Serialization.XmlElementAttribute("VerticalAlign", GetType(VerticalAlign_Type))> _
        Public Property Items() As Cell_Type()
            Get
                Return Me.itemsField
            End Get
            Set(value As Cell_Type())
                Me.itemsField = value
            End Set
        End Property
    End Class ' text block

    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038"), _
     System.SerializableAttribute(), _
     System.Diagnostics.DebuggerStepThroughAttribute(), _
     System.ComponentModel.DesignerCategoryAttribute("code"), _
     System.Xml.Serialization.XmlTypeAttribute([Namespace]:="http://schemas.microsoft.com/visio/2003/core")> _
    Partial Public Class TextXForm_Type
        Inherits Row_Type

        Private itemsField() As Cell_Type

        '''<remarks/>
        <System.Xml.Serialization.XmlElementAttribute("TxtAngle", GetType(TxtAngle_Type)), _
         System.Xml.Serialization.XmlElementAttribute("TxtHeight", GetType(TxtHeight_Type)), _
         System.Xml.Serialization.XmlElementAttribute("TxtLocPinX", GetType(TxtLocPinX_Type)), _
         System.Xml.Serialization.XmlElementAttribute("TxtLocPinY", GetType(TxtLocPinY_Type)), _
         System.Xml.Serialization.XmlElementAttribute("TxtPinX", GetType(TxtPinX_Type)), _
         System.Xml.Serialization.XmlElementAttribute("TxtPinY", GetType(TxtPinY_Type)), _
         System.Xml.Serialization.XmlElementAttribute("TxtWidth", GetType(TxtWidth_Type))> _
        Public Property Items() As Cell_Type()
            Get
                Return Me.itemsField
            End Get
            Set(value As Cell_Type())
                Me.itemsField = value
            End Set
        End Property
    End Class ' text transform



#End Region



    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038"), _
     System.SerializableAttribute(), _
     System.Diagnostics.DebuggerStepThroughAttribute(), _
     System.ComponentModel.DesignerCategoryAttribute("code"), _
     System.Xml.Serialization.XmlTypeAttribute([Namespace]:="http://schemas.microsoft.com/visio/2003/core")> _
    Partial Public Class Hyperlink_Type
        Inherits NamedRow_Type

        Private itemsField() As Cell_Type

        '''<remarks/>
        <System.Xml.Serialization.XmlElementAttribute("Address", GetType(Address_Type)), _
         System.Xml.Serialization.XmlElementAttribute("Default", GetType(Default_Type)), _
         System.Xml.Serialization.XmlElementAttribute("Description", GetType(Description_Type)), _
         System.Xml.Serialization.XmlElementAttribute("ExtraInfo", GetType(ExtraInfo_Type)), _
         System.Xml.Serialization.XmlElementAttribute("Frame", GetType(Frame_Type)), _
         System.Xml.Serialization.XmlElementAttribute("Invisible", GetType(Invisible_Type)), _
         System.Xml.Serialization.XmlElementAttribute("NewWindow", GetType(NewWindow_Type)), _
         System.Xml.Serialization.XmlElementAttribute("SortKey", GetType(SortKey_Type)), _
         System.Xml.Serialization.XmlElementAttribute("SubAddress", GetType(SubAddress_Type))> _
        Public Property Items() As Cell_Type()
            Get
                Return Me.itemsField
            End Get
            Set(value As Cell_Type())
                Me.itemsField = value
            End Set
        End Property
    End Class ' hyperlink

    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038"), _
     System.SerializableAttribute(), _
     System.Diagnostics.DebuggerStepThroughAttribute(), _
     System.ComponentModel.DesignerCategoryAttribute("code"), _
     System.Xml.Serialization.XmlTypeAttribute([Namespace]:="http://schemas.microsoft.com/visio/2003/core")> _
    Partial Public Class SmartTagDef_Type
        Inherits NamedRow_Type

        Private itemsField() As Cell_Type

        '''<remarks/>
        <System.Xml.Serialization.XmlElementAttribute("ButtonFace", GetType(ButtonFace_Type)), _
         System.Xml.Serialization.XmlElementAttribute("Description", GetType(Description_Type)), _
         System.Xml.Serialization.XmlElementAttribute("Disabled", GetType(Disabled_Type)), _
         System.Xml.Serialization.XmlElementAttribute("DisplayMode", GetType(DisplayMode_Type)), _
         System.Xml.Serialization.XmlElementAttribute("TagName", GetType(TagName_Type)), _
         System.Xml.Serialization.XmlElementAttribute("X", GetType(X_Type)), _
         System.Xml.Serialization.XmlElementAttribute("XJustify", GetType(XJustify_Type)), _
         System.Xml.Serialization.XmlElementAttribute("Y", GetType(Y_Type)), _
         System.Xml.Serialization.XmlElementAttribute("YJustify", GetType(YJustify_Type))> _
        Public Property Items() As Cell_Type()
            Get
                Return Me.itemsField
            End Get
            Set(value As Cell_Type())
                Me.itemsField = value
            End Set
        End Property
    End Class ' smart tag


#Region " Local Data (user/customprop/scratch) "



    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038"), _
     System.SerializableAttribute(), _
     System.Diagnostics.DebuggerStepThroughAttribute(), _
     System.ComponentModel.DesignerCategoryAttribute("code"), _
     System.Xml.Serialization.XmlTypeAttribute([Namespace]:="http://schemas.microsoft.com/visio/2003/core")> _
    Partial Public Class CustomProps_Type

        Private customPropField() As CustomProp_Type

        '''<remarks/>
        <System.Xml.Serialization.XmlElementAttribute("CustomProp")> _
        Public Property CustomProp() As CustomProp_Type()
            Get
                Return Me.customPropField
            End Get
            Set(value As CustomProp_Type())
                Me.customPropField = value
            End Set
        End Property
    End Class ' custom properties section

    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038"), _
     System.SerializableAttribute(), _
     System.Diagnostics.DebuggerStepThroughAttribute(), _
     System.ComponentModel.DesignerCategoryAttribute("code"), _
     System.Xml.Serialization.XmlTypeAttribute([Namespace]:="http://schemas.microsoft.com/visio/2003/core")> _
    Partial Public Class CustomProp_Type

        Private nameField As String

        Private propTypeField As String

        Private valueField As String

        '''<remarks/>
        <System.Xml.Serialization.XmlAttributeAttribute()> _
        Public Property Name() As String
            Get
                Return Me.nameField
            End Get
            Set(value As String)
                Me.nameField = value
            End Set
        End Property

        '''<remarks/>
        <System.Xml.Serialization.XmlAttributeAttribute()> _
        Public Property PropType() As String
            Get
                Return Me.propTypeField
            End Get
            Set(value As String)
                Me.propTypeField = value
            End Set
        End Property

        '''<remarks/>
        <System.Xml.Serialization.XmlTextAttribute()> _
        Public Property Value() As String
            Get
                Return Me.valueField
            End Get
            Set(value As String)
                Me.valueField = value
            End Set
        End Property
    End Class ' custom prop

    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038"), _
     System.SerializableAttribute(), _
     System.Diagnostics.DebuggerStepThroughAttribute(), _
     System.ComponentModel.DesignerCategoryAttribute("code"), _
     System.Xml.Serialization.XmlTypeAttribute([Namespace]:="http://schemas.microsoft.com/visio/2003/core")> _
    Partial Public Class Prop_Type
        Inherits NamedRow_Type

        Private itemsField() As Object

        '''<remarks/>
        <System.Xml.Serialization.XmlElementAttribute("Calendar", GetType(Calendar_Type)), _
         System.Xml.Serialization.XmlElementAttribute("Format", GetType(Format_Type)), _
         System.Xml.Serialization.XmlElementAttribute("Invisible", GetType(Invisible_Type)), _
         System.Xml.Serialization.XmlElementAttribute("Label", GetType(Label_Type)), _
         System.Xml.Serialization.XmlElementAttribute("LangID", GetType(LangID_Type)), _
         System.Xml.Serialization.XmlElementAttribute("Prompt", GetType(Prompt_Type)), _
         System.Xml.Serialization.XmlElementAttribute("SortKey", GetType(SortKey_Type)), _
         System.Xml.Serialization.XmlElementAttribute("Type", GetType(Type_Type)), _
         System.Xml.Serialization.XmlElementAttribute("Value", GetType(Value_Type)), _
         System.Xml.Serialization.XmlElementAttribute("Verify", GetType(Verify_Type))> _
        Public Property Items() As Object()
            Get
                Return Me.itemsField
            End Get
            Set(value As Object())
                Me.itemsField = value
            End Set
        End Property
    End Class ' custom property section

    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038"), _
     System.SerializableAttribute(), _
     System.Diagnostics.DebuggerStepThroughAttribute(), _
     System.ComponentModel.DesignerCategoryAttribute("code"), _
     System.Xml.Serialization.XmlTypeAttribute([Namespace]:="http://schemas.microsoft.com/visio/2003/core")> _
    Partial Public Class User_Type
        Inherits NamedRow_Type

        Private itemsField() As Object

        '''<remarks/>
        <System.Xml.Serialization.XmlElementAttribute("Prompt", GetType(Prompt_Type)), _
         System.Xml.Serialization.XmlElementAttribute("Value", GetType(Value_Type))> _
        Public Property Items() As Object()
            Get
                Return Me.itemsField
            End Get
            Set(value As Object())
                Me.itemsField = value
            End Set
        End Property
    End Class ' user property row

    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038"), _
     System.SerializableAttribute(), _
     System.Diagnostics.DebuggerStepThroughAttribute(), _
     System.ComponentModel.DesignerCategoryAttribute("code"), _
     System.Xml.Serialization.XmlTypeAttribute([Namespace]:="http://schemas.microsoft.com/visio/2003/core")> _
    Partial Public Class Scratch_Type
        Inherits IndexedRow_Type

        Private xField As X_Type

        Private yField As Y_Type

        Private aField As A_Type

        Private bField As B_Type

        Private cField As C_Type

        Private dField As D_Type

        '''<remarks/>
        Public Property X() As X_Type
            Get
                Return Me.xField
            End Get
            Set(value As X_Type)
                Me.xField = value
            End Set
        End Property

        '''<remarks/>
        Public Property Y() As Y_Type
            Get
                Return Me.yField
            End Get
            Set(value As Y_Type)
                Me.yField = value
            End Set
        End Property

        '''<remarks/>
        Public Property A() As A_Type
            Get
                Return Me.aField
            End Get
            Set(value As A_Type)
                Me.aField = value
            End Set
        End Property

        '''<remarks/>
        Public Property B() As B_Type
            Get
                Return Me.bField
            End Get
            Set(value As B_Type)
                Me.bField = value
            End Set
        End Property

        '''<remarks/>
        Public Property C() As C_Type
            Get
                Return Me.cField
            End Get
            Set(value As C_Type)
                Me.cField = value
            End Set
        End Property

        '''<remarks/>
        Public Property D() As D_Type
            Get
                Return Me.dField
            End Get
            Set(value As D_Type)
                Me.dField = value
            End Set
        End Property
    End Class ' scratch


#End Region

#End Region



End Class
